package com.situ.blog.dao;


import com.situ.blog.pojo.entity.Blog;
import com.situ.blog.pojo.query.BlogQuery;

import java.util.List;

public interface IBlogDao {
    List<Blog> selectByPage(BlogQuery blogQuery);
    Integer selectTotalCount(BlogQuery blogQuery);

    int deleteById(int id);

    int add(Blog blog);

    int updateStatus(int id, int status);
}
